package com.zero.system.mapper;

import com.zero.system.entity.Customer;

import java.util.List;
import java.util.Map;


public interface CustomerMapper {
    List<Customer> queryList(Map<String, Object> paramMap);

    Integer getCount(Map<String, Object> paramMap);

    int add(Customer customer);

    Customer findById(Integer id);

    int delete(List<Integer> ids);

    int update(Customer customer);

    Customer findByUserName(String username);

    List<Customer> findAll();

    Customer login(String username,String password);

}
